all::server client
server::server.cpp request.pb.cc ./protobuf/codec.cc
	g++ $^ -o $@ -I../muduo/include -L../muduo/lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz -std=c++11
client::client.cpp request.pb.cc ./protobuf/codec.cc
	g++ $^ -o $@ -I../muduo/include -L../muduo/lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz -std=c++11
.PHONY:clean
clean:
	rm -rf server client